import info from './info'
import exam from './chengji'
export default [
    {
        path:'/register',
        name:'register',
        component: ()=>import('@/views/Register.vue')
    },
    {
        path:'/login',
        name:'login',
        component:()=>import('../views/Login.vue')
    },
    {
        path:'/home',
        name:'home',
        component:()=>import('../views/Home.vue'),
        meta:[
            {
            show:true
        }
        ]
    },
    {
        path:'/user_conter',
        name:'user_conter',
        component:()=>import('@/views/UserConter.vue')
    },
    ...info,
    ...exam,
    {
        path:'/photo',
        name:'photo',
        component:()=>import('@/views/Photo.vue'),
        meta:[
            {
            show:true
        }
        ]
    },
    {
        path:'*',
        name:'notFound',
        component:()=>import('../views/NotFound.vue')
    },
    {
        path:'/',
        redirect:{
            path:'/home'
        }
    }
]